import request from '../utils/request';

const baseUrl = getApp().globalData.baseUrl

// 工单列表
export function queryAfterOrderByPage(data) {
    return request({
        url: `${baseUrl}/electronic/queryAfterOrderByPage?pageNum=${data.pageNum}&pageSize=${data.pageSize}`,
        method: 'post',
        data
    })
}


// 工单列表
export function getEvaluateNum(data) {
    return request({
        url: `${baseUrl}/car/owner/getEvaluateNum`,
        method: 'post',
        data
    })
}


// 工单列表
export function queryFixReportByPage(data) {
    return request({
        url: `${baseUrl}/erp/rep/fix/queryFixReportByPage?pageNum=${data.pageNum}&pageSize=${data.pageSize}`,
        method: 'post',
        data
    })
}


// 工单列表
export function pay(data) {
    return request({
        url: `${baseUrl}/pay/wx`,
        method: 'post',
        data
    })
}



// 工单列表
export function queryAllRepFixItem(data) {
    return request({
        url: `${baseUrl}/erp/rep/fix/item/queryAll`,
        method: 'post',
        data
    })
}

